package com.zlm.user.emp.service.impl;

import com.zlm.common.base.AbstractBaseService;
import com.zlm.common.entity.SysTimeSectionDO;
import com.zlm.user.emp.dao.SysTimeSectionDao;
import com.zlm.user.emp.service.SysTimeSectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: duyufu
 * @Date: 2019/5/16 14:54
 */
@Service
public class SysTimeSectionServiceImpl extends AbstractBaseService<SysTimeSectionDao, SysTimeSectionDO> implements SysTimeSectionService {

    @Autowired
    @Override
    public void setBaseDao(SysTimeSectionDao sysTimeSectionDao) {
        this.baseDao = sysTimeSectionDao;
    }

    @Override
    public List<SysTimeSectionDO> queryTimeSection(SysTimeSectionDO sysTimeSection) {
        return baseDao.queryTimeSection(sysTimeSection);
    }

    @Override
    public void insertTimeSectionList(List<SysTimeSectionDO> sysTimeSections) {
        baseDao.insertTimeSectionList(sysTimeSections);
    }
}
